package InnerClass;

public class Car {
    private String name;

    public class Engine {
        private int money = 500;

        public void Price() {
            System.out.println(Car.this.name + "的引擎价格:" + this.money);
        }
    }

    public Engine getInnerClass() {
        return new Engine();
    }
}
